package cn.yx.permission.service.impl;

import cn.yx.common.mybatis.service.AbstractMybatisPlusService;
import cn.yx.permission.cond.RolePermissionCond;
import cn.yx.permission.dos.RolePermissionDo;
import cn.yx.permission.dto.RolePermissionDto;
import cn.yx.permission.mapper.RolePermissionMapper;
import cn.yx.permission.mapping.RolePermissionMapping;
import cn.yx.permission.service.RolePermissionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>RolePermissionService角色权限服务接口实现类</p>
 *
 * @author Wgssmart
 */
@Service
@Slf4j
public class RolePermissionServiceImpl
        extends AbstractMybatisPlusService<RolePermissionDo,
        RolePermissionDto,
        RolePermissionCond,
        Long,
        RolePermissionMapper>
        implements RolePermissionService {

    private final RolePermissionMapper rolePermissionMapper;

    public RolePermissionServiceImpl(RolePermissionMapper rolePermissionMapper) {
        super(rolePermissionMapper, RolePermissionMapping.INSTANCE);
        this.rolePermissionMapper = rolePermissionMapper;
    }
}
